<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册功能</title>
</head>
<body>
<h1>欢迎注册</h1>
    <table border="1px">
        <tr>
            <td>用户名:</td>
<!--
        maxlength="5" 最大长度是5
        readonly 只可以阅读不可以修改
-->
            <td><input name="uname" maxlength="5" value="KK" readonly></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" name="pwd"></td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>
                <input checked type="radio" name="gender" value="1">男
                <input type="radio" name="gender" value="0">女
            </td>
        </tr>
        <tr>
            <td>爱好:</td>
            <td>
                <input type="checkbox" name="hibby" value="cy" > 抽烟
                <input type="checkbox" name="hibby" value="hj"> 喝酒
                <input type="checkbox" name="hibby" value="tt"> 烫头
            </td>
        </tr>
        <tr>
            <td>地址:</td>
            <td><input name="address"></td>
        </tr>
        <tr>
            <td>生日:</td>
            <td><input type="date"></td>
        </tr>
        <tr>
            <td>靓照:</td>
            <td><input type="file"> </td>
        </tr>
        <tr>
            <td>所在地:</td>
            <td>
                <select name="city">
                    <option value="sz">深圳</option>
                    <option value="bj">北京</option>
                    <option value="sh">上海</option>
                </select>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2">
                <input type="checkbox" id="yes" name="y" value="1">
                <label for="yes">我同意相关的服务协议</label>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2"><input type="submit" value="注册"> </td>
        </tr>
    </table>

</body>
</html>